package com.cgmnx.admin.service;


import com.cgmnx.admin.dao.condition.NoteCondition;
import com.cgmnx.admin.dao.entity.NoteEntity;

import java.util.List;

/**
 * @author zippoy
 * 2018-04-23
 * @since 1.0.0
 */
public interface NoteService {
    int count(NoteCondition condition);

    NoteEntity query(Integer id);

    List<NoteEntity> queryPage(NoteCondition condition);

    void save(NoteEntity convert);

    void update(NoteEntity convert);

    void updateAudit(Integer id, Integer newStatus, Integer oldStatus);
}
